package com.mano233.server.config.json.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Repeatable;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Repeatable(JsonCustomFilters.class)   // 让方法支持多重@JsonCustomFilter 注解
public @interface JsonCustomFilter {
    Class<?> type();

    String[] include() default {};

    String[] filter() default {};
}

